<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./index.css">
    <script src="./test.js" defer type="module"></script>
</head>

<body>
    <ul class="menu-container">
        <li class="menu">
            <h2>菜单1</h2>
            <ul class="subMenu-container">
                <li class="subMenu">子菜单1</li>
                <li class="subMenu">子菜单2</li>
                <li class="subMenu">子菜单3</li>
                <li class="subMenu">子菜单4</li>
            </ul>
        </li>
        <li class="menu">
            <h2>菜单2</h2>
            <ul class="subMenu-container">
                <li class="subMenu">子菜单1</li>
                <li class="subMenu">子菜单2</li>
                <li class="subMenu">子菜单3</li>
                <li class="subMenu">子菜单4</li>
            </ul>
        </li>
        <li class="menu">
            <h2>菜单3</h2>
            <ul class="subMenu-container">
                <li class="subMenu">子菜单1</li>
                <li class="subMenu">子菜单2</li>
                <li class="subMenu">子菜单3</li>
                <li class="subMenu">子菜单4</li>
            </ul>
        </li>
        <li class="menu">
            <h2>菜单4</h2>
            <ul class="subMenu-container">
                <li class="subMenu">子菜单1</li>
                <li class="subMenu">子菜单2</li>
                <li class="subMenu">子菜单3</li>
                <li class="subMenu">子菜单4</li>
            </ul>
        </li>
    </ul>
</body>

</html>